package com.cqc.lite.service;

import com.cqc.lite.domain.UserInfo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserService extends UserDetailsService {


    List<UserInfo> findAll();

    int save(UserInfo userInfo);

    UserInfo findById(String id);

    void addRoleToUser(String userId, List<String> roleIdList);
}
